import request from '@/utils/request'

// 查询ar站点列表
export function listArSite(query) {
  return request({
    url: '/hps/arSite/list',
    method: 'get',
    params: query
  })
}

// 查询ar站点详细
export function getArSite(id) {
  return request({
    url: '/hps/arSite/' + id,
    method: 'get'
  })
}

// 新增ar站点
export function addArSite(data) {
  return request({
    url: '/hps/arSite',
    method: 'post',
    data: data
  })
}

// 修改ar站点
export function updateArSite(data) {
  return request({
    url: '/hps/arSite',
    method: 'put',
    data: data
  })
}

// 删除ar站点
export function delArSite(id) {
  return request({
    url: '/hps/arSite/' + id,
    method: 'delete'
  })
}

// 导出ar站点
export function exportArSite(query) {
  return request({
    url: '/hps/arSite/export',
    method: 'get',
    params: query
  })
}